<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      input {
        padding-left: 5px;
      }
    </style>
  </head>
  <body>
    key: <input type="text" name="" id="txtKey" /> value:
    <input type="text" name="" id="txtValue" />
    <input type="button" value="存数据" id="btnAdd" />
    <input type="button" value="取数据" id="btnGet" />
    <input type="button" value="删除数据" id="btnRemove" />
    <input type="button" value="清空数据" id="btnClear" />
    <input type="button" value="存对象" id="btnAddObj" />
    <input type="button" value="取对象" id="btnGetObj" />
    <script src="./js/01localStorage.js"></script>
  </body>
</html>
